TenWebOptimizer\WebPageCache\OptimizerWebPageCache A

Total Complexity 68
Dependencies 4
Dependents 3
Total lines 312
Lines of code 219
Logical lines of code 141
Comment lines 8
Methods 18
Properties 7

Methods 18

Method Rating Maintainability Complexity Lines of code
delete_page_cache()
A
51 10 25
can_process_page()
A
50 9 33
cache_content()
S
56 7 18
get_cache_file_dir()
S
52 5 23
serve_cached_file()
S
53 5 21
__construct()
S
57 5 16
get_cached_file_to_serve()
S
66 6 9
maybe_clear_cache()
S
56 4 17
get_cache_dir_for_page()
S
60 3 13
process_page()
S
67 3 7
get_config()
S
70 2 6
get_instance()
S
72 2 6
init()
S
68 2 6
delete_all_cached_pages()
S
75 1 4
delete_cache_by_url()
S
72 1 5
get_cache_dir_for_page_from_url()
S
74 1 4
is_home()
S
78 1 3
delete_cache_by_post_id()
S
79 1 3